import React from 'react';
import { func, object, string, bool, number } from 'prop-types';
const propTypes = {
  label: string,
  type: string,
  placeholder: string,
  value: string || number || bool,
  myStyle: object,
  labelClass: string,
  valueChange: func
};
export default function InputCell({
  label,
  placeholder,
  valueChange,
  myStyle,
  labelClass,
  type,
  value
}) {
  return (
    <label className="labelClass">
      {label}
      <input type={type || 'text'} value={value} onChange={valueChange} />
    </label>
  );
}
